package com.ucenter.server.user.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.ucenter.server.user.pojo.UserWebsite;

/**
 * user_website的Dao
 * @author autoCode
 * @date 2018-11-29 15:15:25
 * @version V1.0.0
 */
public interface UserWebsiteDao {

	public abstract void save(UserWebsite userWebsite);

	public abstract void update(UserWebsite userWebsite);

	public abstract void delete(@Param("userId")String userId, @Param("websiteId")String websiteId);

	public abstract UserWebsite get(@Param("userId")String userId, @Param("websiteId")String websiteId);

	public abstract List<UserWebsite> findUserWebsite(UserWebsite userWebsite);
	
	public abstract int findUserWebsiteCount(UserWebsite userWebsite);

	public abstract List<UserWebsite> findByUserId(@Param("userId")String userId);

	public abstract void deleteByUserId(@Param("userId")String userId);
}